#pragma once

const char *DeviceName = "ESP32CAM";
const char *ssid = "leisure";
const char *password = "shadow27";

// 配置静态IP
IPAddress staticIP(192, 168, 212, 126); // 开发板的静态IP
IPAddress gateway(192, 168, 212, 82);   // 网关，路由器的IP地址
IPAddress subnet(255, 255, 255, 0);     // 子网掩码

const int interval = 80;

// Websocket配置
const char *websockets_server_host = "192.168.212.153"; // ESP32C3的IP
const uint16_t websockets_server_port = 8888;           // 通信端口
using namespace websockets;
WebsocketsClient client1;